home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 2002 November
/
SGI Freeware 2002 November - Disc 2.iso
/
dist
/
fw_gettext.idb
/
usr
/
freeware
/
catman
/
u_man
/
cat1
/
msggrep.Z
/
msggrep
Wrap
Text File
|
2002-04-08
|
5KB
|
145 lines
MSGGREP(1) GNU MSGGREP(1)
NNAAMMEE
msggrep - pattern matching on message catalog
SSYYNNOOPPSSIISS
mmssggggrreepp [_O_P_T_I_O_N] [_I_N_P_U_T_F_I_L_E]
DDEESSCCRRIIPPTTIIOONN
Extracts all messages of a translation catalog that match
a given pattern or belong to some given source files.
Mandatory arguments to long options are mandatory for
short options too.
IInnppuutt ffiillee llooccaattiioonn::
INPUTFILE
input PO file
--DD, ----ddiirreeccttoorryy=_D_I_R_E_C_T_O_R_Y
add DIRECTORY to list for input files search
If no input file is given or if it is -, standard input is
read.
OOuuttppuutt ffiillee llooccaattiioonn::
--oo, ----oouuttppuutt--ffiillee=_F_I_L_E
write output to specified file
The results are written to standard output if no output
file is specified or if it is -.
MMeessssaaggee sseelleeccttiioonn::
[-N SOURCEFILE]... [-M DOMAINNAME]... [-K MSGID-
PATTERN] [-T MSGSTR-PATTERN]
A message is selected if it comes from one of the speci
fied source files, or if it comes from one of the speci
fied domains, or if --KK is given and its key (msgid or
msgid_plural) matches MSGID-PATTERN, or if --TT is given and
its translation (msgstr) matches MSGSTR-PATTERN.
When more than one selection criterion is specified, the
set of selected messages is the union of the selected mes
sages of each criterion.
MMSSGGIIDD--PPAATTTTEERRNN oorr MMSSGGSSTTRR--PPAATTTTEERRNN ssyynnttaaxx::
[-E | --FF]] [-e PATTERN | --ff FILE]...
PATTERNs are basic regular expressions by default, or
extended regular expressions if --EE is given, or fixed
strings if --FF is given.
--NN, ----llooccaattiioonn=_S_O_U_R_C_E_F_I_L_E
select messages extracted from SOURCEFILE
--MM, ----ddoommaaiinn=_D_O_M_A_I_N_N_A_M_E
select messages belonging to domain DOMAINNAME
--KK, ----mmssggiidd
start of patterns for the msgid
--TT, ----mmssggssttrr
start of patterns for the msgstr
--EE, ----eexxtteennddeedd--rreeggeexxpp
PATTERN is an extended regular expression
--FF, ----ffiixxeedd--ssttrriinnggss
PATTERN is a set of newline-separated strings
--ee, ----rreeggeexxpp=_P_A_T_T_E_R_N
use PATTERN as a regular expression
--ff, ----ffiillee=_F_I_L_E
obtain PATTERN from FILE
--ii, ----iiggnnoorree--ccaassee
ignore case distinctions
OOuuttppuutt ddeettaaiillss::
----nnoo--eessccaappee
do not use C escapes in output (default)
----eessccaappee
use C escapes in output, no extended chars
----ffoorrccee--ppoo
write PO file even if empty
----iinnddeenntt
indented output style
----nnoo--llooccaattiioonn
suppress '#: filename:line' lines
----aadddd--llooccaattiioonn
preserve '#: filename:line' lines (default)
----ssttrriicctt
strict Uniforum output style
--ww, ----wwiiddtthh=_N_U_M_B_E_R
set output page width
----ssoorrtt--oouuttppuutt
generate sorted output
----ssoorrtt--bbyy--ffiillee
sort output by file location
IInnffoorrmmaattiivvee oouuttppuutt::
--hh, ----hheellpp
display this help and exit
--VV, ----vveerrssiioonn
output version information and exit
AAUUTTHHOORR
Written by Bruno Haible.
RREEPPOORRTTIINNGG BBUUGGSS
Report bugs to <bug-gnu-gettext@gnu.org>.
CCOOPPYYRRIIGGHHTT
Copyright 2001-2002 Free Software Foundation, Inc.
This is free software; see the source for copying condi
tions. There is NO warranty; not even for MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE.
SSEEEE AALLSSOO
The full documentation for mmssggggrreepp is maintained as a Tex
info manual. If the iinnffoo and mmssggggrreepp programs are prop
erly installed at your site, the command
iinnffoo mmssggggrreepp
should give you access to the complete manual.
GNU gettext 0.11 January 2002 MSGGREP(1)